package org.hawk.gwt.ppc.reflect.mock;

import java.io.Serializable;
import java.util.Map;

import com.google.gwt.core.client.EntryPoint;

@SuppressWarnings("serial")
public class Mock1 implements EntryPoint,Serializable {
	private long id;
	private String name;
	private Map<String,Map<String,Map<String,String>>> map;
	
	public void method01() throws Exception{
		name = name + id;
		new Runnable(){
			public void run() {}
		}.run();
		new Thread(name) {
			public void run() {}
		}.start();
	}
	
	public int method02(int a){
		method03(null);
		return a+1;
	}

	private Mock1 method03(String name) {
		return this;
	}
	
	public static class MockInner{}
	
	public static class MockInner2 extends MockInner{
		public void doInnerJob(){}
	}

	public void onModuleLoad() {
		map.clear();
	}
}
